const {
    insertBannerList,
    readBannerList,
    removeBannerList,
    removeBannerListAll
} = require('./lib/swiper')

const {
    insertUser,
    checkUserLogin,
    getUserList,
    modifyUserlist,
    modifyUserPassword,
    deleteUserlist
} = require('./lib/user')

const {
    insertCategory,
    readCategoryList,
    modifyCategoryList,
    removeCategoryList
} = require('./lib/category')

const {
    insertBrand,
    readBrand,
    modifyBrandList,
    removeBrandList
} = require('./lib/brand')

const {
    insertAdmin,
    checkAdminLogin,
    getAdminList,
    freezeAdmin,
    modifyAdmin,
    removeAdmin
} = require('./lib/admin')

const {
    insertComments,
    getCommentList,
    getCommenListByProid,
    getCommenListByUserid,
    returnBack
} = require('./lib/comment')

const {
    addFootprint,
    getFootprint
} = require('./lib/footprint')

const {
    insertMsg,
    getMsg,
    getReadMsg,
    getReadList,
    getReadListCount,
    modifyReadIt,
    removeMsg,
    getFeedback,
    insertFeedback
} = require('./lib/message')

const {
    getAddressList,
    insertAddressList,
    modifyAddressList,
    removeAddressList,
    getAddressDetail
} = require('./lib/address')

const {
    insertOrder,
    getOrderList,
    getOrderDetail,
    modifyOrderState,
    getOrderByState,
    getAllOrderList
} = require('./lib/order')

const {
    initData,
    insertProduct,
    readProduct,
    getProductDetail,
    getCategoryProductList,
    getProductListByNumber,
    getCategoryProductListByNumber,
    getBrandProductListByNumber,
    removeProductImg,
    removeProductList,
    updateProductListState,
    updateProductSalesAndStore,
    getProductListByState,
    modifyProductList,
    getProductOrderBySell,
    getProductOrderByDiscount,
    getProductOrderByPrice,
    filterProductList,
    searchProductList
} = require('./lib/shop')

const {
    insertShopCart,
    getShopCartList,
    modifyShopCartState,
    modifyAllShopCartState,
    modifyShopCartNum,
    getCheckedShopCartlist,
    removeCheckedShopCartList,
    removeShopCartList
} = require('./lib/shopcart')

const {
    queryShopTotal,
    queryUserTotal,
    queryGoodComments,
    queryReturnBackUsers,
    queryUnloadShop,
    querySaleTotal,
    figureForSales,
    figureForClassify,
    figureForUserBuy
} = require('./lib/statistic')

module.exports = {
    insertBannerList,
    readBannerList,
    removeBannerList,
    removeBannerListAll,
    insertUser,
    checkUserLogin,
    getUserList,
    modifyUserlist,
    modifyUserPassword,
    deleteUserlist,
    insertAdmin,
    checkAdminLogin,
    getAdminList,
    freezeAdmin,
    modifyAdmin,
    removeAdmin,
    insertCategory,
    readCategoryList,
    modifyCategoryList,
    removeCategoryList,
    insertBrand,
    readBrand,
    getProductDetail,
    modifyBrandList,
    removeBrandList,
    initData,
    insertProduct,
    readProduct,
    getCategoryProductList,
    getProductListByNumber,
    getCategoryProductListByNumber,
    getBrandProductListByNumber,
    removeProductImg,
    removeProductList,
    modifyProductList,
    updateProductListState,
    updateProductSalesAndStore,
    getProductListByState,
    getProductOrderByPrice,
    getProductOrderBySell,
    getProductOrderByDiscount,
    filterProductList,
    searchProductList,
    insertShopCart,
    getShopCartList,
    modifyShopCartState,
    modifyAllShopCartState,
    modifyShopCartNum,
    getCheckedShopCartlist,
    removeCheckedShopCartList,
    removeShopCartList,
    getAddressList,
    getAddressDetail,
    insertAddressList,
    modifyAddressList,
    removeAddressList,
    insertOrder,
    getOrderList,
    getAllOrderList,
    getOrderDetail,
    modifyOrderState,
    getOrderByState,
    insertComments,
    getCommentList,
    getCommenListByProid,
    getCommenListByUserid,
    returnBack,
    insertMsg,
    getMsg,
    getReadMsg,
    getReadList,
    getReadListCount,
    modifyReadIt,
    removeMsg,
    getFeedback,
    insertFeedback,
    addFootprint,
    getFootprint,
    queryShopTotal,
    queryUserTotal,
    queryGoodComments,
    queryReturnBackUsers,
    queryUnloadShop,
    querySaleTotal,
    figureForSales,
    figureForClassify,
    figureForUserBuy
}
